********************************************************************************
//                School Breakfast and Academic Achievemnet                   //
//                       Economics of Eduction Review                         //
//                  Cuadros-Menaca, Thomsen, and Nayga (2022)                 //
********************************************************************************
global d_user "Your Directory" //Set the directory :)
set more off

use "$d_user\Working_Data.dta", clear

//Table 1

xtset ID GradeLevel

global covariates ZMath ZELA Boy Minority Ecodis Bus TotalStudents CertifiedTeacherTotal

egen ExposedBAB=max(BAB), by(ResearchID)

xtsum $covariates

foreach i in $covariates{
ttest `i', by(ExposedBAB)
}

